package com.bwie.controller;

import com.bwie.service.TbBrandService;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/shop/brand")
public class TbBrandController {
    @Autowired
    TbBrandService tbBrandService;
    @PostMapping("/getBrandListAll")
    public Result getBrandListAll(){
        return tbBrandService.getBrandListAll();
    }
}
